home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
efun
/
filter_mapping
< prev
next >
Wrap
Text File
|
2001-04-06
|
998b
|
27 lines
DEPRECATED
SYNOPSIS
mapping filter_mapping(mapping, string func, string|object ob, ...)
mapping filter_mapping(mapping, closure cl, ...)
DESCRIPTION
ob->func() is called resp. cl applied to every element in the
mapping, with first argument being the key of the
element, and then the extra args that were given to
filter_mapping (these args must not be protected references like
&(i[0]). If the function returns true, the element is
element, and then the extra args that were given to
added to the result mapping. ob can also be a file_name of an
object.
If <ob> is omitted, or neither a string nor an object, it
defaults to this_object().
HISTORY
In LDMud 3.2.6 renamed to filter_indices().
Since LDMud 3.2.9, not available if driver is compiled without
USE_DEPRECATED.
SEE ALSO
filter(E), map(E), map_indices(E), walk_mapping(E), member(E),
m_contains(E)